home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9251 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 69 78 | 2e 6e 65 74 63 6f 6d 2e |Path: ix|.netcom.|
|00000010| 63 6f 6d 21 6e 65 74 6e | 65 77 73 0a 46 72 6f 6d |com!netn|ews.From|
|00000020| 3a 20 4e 6f 72 6d 61 6e | 20 42 75 6c 6c 65 6e 20 |: Norman| Bullen |
|00000030| 3c 6e 62 75 6c 6c 65 6e | 40 69 78 2e 6e 65 74 63 |<nbullen|@ix.netc|
|00000040| 6f 6d 2e 63 6f 6d 3e 0a | 4e 65 77 73 67 72 6f 75 |om.com>.|Newsgrou|
|00000050| 70 73 3a 20 63 6f 6d 70 | 2e 6c 61 6e 67 2e 63 2b |ps: comp|.lang.c+|
|00000060| 2b 2c 63 6f 6d 70 2e 6c | 61 6e 67 2e 63 2c 63 6f |+,comp.l|ang.c,co|
|00000070| 6d 70 2e 6f 73 2e 6d 73 | 2d 77 69 6e 64 6f 77 73 |mp.os.ms|-windows|
|00000080| 2e 70 72 6f 67 72 61 6d | 6d 65 72 2e 6d 69 73 63 |.program|mer.misc|
|00000090| 0a 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 73 73 |.Subject|: Re: ss|
|000000a0| 63 61 6e 66 20 28 77 61 | 73 20 52 65 3a 20 43 61 |canf (wa|s Re: Ca|
|000000b0| 6e 20 27 66 73 63 61 6e | 66 27 20 62 65 20 75 73 |n 'fscan|f' be us|
|000000c0| 65 64 20 69 6e 20 31 36 | 2d 62 69 74 20 44 4c 4c |ed in 16|-bit DLL|
|000000d0| 3f 29 0a 44 61 74 65 3a | 20 54 68 75 2c 20 32 39 |?).Date:| Thu, 29|
|000000e0| 20 46 65 62 20 31 39 39 | 36 20 30 36 3a 31 32 3a | Feb 199|6 06:12:|
|000000f0| 33 36 20 2d 30 38 30 30 | 0a 4f 72 67 61 6e 69 7a |36 -0800|.Organiz|
|00000100| 61 74 69 6f 6e 3a 20 42 | 6c 61 63 6b 20 43 61 74 |ation: B|lack Cat|
|00000110| 20 41 73 73 6f 63 69 61 | 74 65 73 0a 4d 65 73 73 | Associa|tes.Mess|
|00000120| 61 67 65 2d 49 44 3a 20 | 3c 33 31 33 35 42 34 35 |age-ID: |<3135B45|
|00000130| 34 2e 36 39 32 42 40 69 | 78 2e 6e 65 74 63 6f 6d |4.692B@i|x.netcom|
|00000140| 2e 63 6f 6d 3e 0a 52 65 | 66 65 72 65 6e 63 65 73 |.com>.Re|ferences|
|00000150| 3a 20 3c 44 4d 72 6e 32 | 4a 2e 35 46 37 2e 30 2e |: <DMrn2|J.5F7.0.|
|00000160| 2d 73 40 68 6b 75 73 75 | 63 2e 68 6b 75 2e 68 6b |-s@hkusu|c.hku.hk|
|00000170| 3e 20 3c 38 32 34 33 32 | 32 36 33 33 73 6e 7a 40 |> <82432|2633snz@|
|00000180| 63 68 72 69 73 6d 2e 64 | 65 6d 6f 6e 2e 63 6f 2e |chrism.d|emon.co.|
|00000190| 75 6b 3e 20 3c 2b 6f 69 | 2a 30 44 77 74 6d 40 6d |uk> <+oi|*0Dwtm@m|
|000001a0| 79 72 64 64 69 6e 2e 63 | 68 75 2e 63 61 6d 2e 61 |yrddin.c|hu.cam.a|
|000001b0| 63 2e 75 6b 3e 0a 4e 4e | 54 50 2d 50 6f 73 74 69 |c.uk>.NN|TP-Posti|
|000001c0| 6e 67 2d 48 6f 73 74 3a | 20 70 6c 65 2d 63 61 39 |ng-Host:| ple-ca9|
|000001d0| 2d 31 39 2e 69 78 2e 6e | 65 74 63 6f 6d 2e 63 6f |-19.ix.n|etcom.co|
|000001e0| 6d 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |m.Mime-V|ersion: |
|000001f0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000200| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|00000210| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|00000220| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000230| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|00000240| 2d 4e 45 54 43 4f 4d 2d | 44 61 74 65 3a 20 54 68 |-NETCOM-|Date: Th|
|00000250| 75 20 46 65 62 20 32 39 | 20 20 36 3a 32 31 3a 32 |u Feb 29| 6:21:2|
|00000260| 38 20 41 4d 20 50 53 54 | 20 31 39 39 36 0a 58 2d |8 AM PST| 1996.X-|
|00000270| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|00000280| 32 2e 30 20 28 57 69 6e | 31 36 3b 20 49 29 0a 54 |2.0 (Win|16; I).T|
|00000290| 6f 3a 20 54 69 6d 20 43 | 75 74 74 73 20 3c 74 69 |o: Tim C|utts <ti|
|000002a0| 6d 63 40 63 68 69 61 72 | 6b 2e 63 68 75 2e 63 61 |mc@chiar|k.chu.ca|
|000002b0| 6d 2e 61 63 2e 75 6b 3e | 0a 0a 54 69 6d 20 43 75 |m.ac.uk>|..Tim Cu|
|000002c0| 74 74 73 20 77 72 6f 74 | 65 3a 0a 3e 20 0a 3e 20 |tts wrot|e:.> .> |
|000002d0| 49 6e 20 61 72 74 69 63 | 6c 65 20 3c 38 32 34 33 |In artic|le <8243|
|000002e0| 32 32 36 33 33 73 6e 7a | 40 63 68 72 69 73 6d 2e |22633snz|@chrism.|
|000002f0| 64 65 6d 6f 6e 2e 63 6f | 2e 75 6b 3e 2c 0a 3e 20 |demon.co|.uk>,.> |
|00000300| 43 68 72 69 73 20 4d 61 | 72 72 69 6f 74 74 20 20 |Chris Ma|rriott |
|00000310| 3c 63 68 72 69 73 40 63 | 68 72 69 73 6d 2e 64 65 |<chris@c|hrism.de|
|00000320| 6d 6f 6e 2e 63 6f 2e 75 | 6b 3e 20 77 72 6f 74 65 |mon.co.u|k> wrote|
|00000330| 3a 0a 3e 20 3e 49 6e 20 | 61 72 74 69 63 6c 65 20 |:.> >In |article |
|00000340| 3c 44 4d 72 6e 32 4a 2e | 35 46 37 2e 30 2e 2d 73 |<DMrn2J.|5F7.0.-s|
|00000350| 40 68 6b 75 73 75 63 2e | 68 6b 75 2e 68 6b 3e 20 |@hkusuc.|hku.hk> |
|00000360| 68 38 38 31 37 39 36 38 | 40 68 6b 75 78 62 2e 68 |h8817968|@hkuxb.h|
|00000370| 6b 75 2e 68 6b 20 22 44 | 61 6e 69 65 6c 22 20 77 |ku.hk "D|aniel" w|
|00000380| 72 69 74 65 73 3a 0a 3e | 20 3e 0a 3e 20 3e 3e 49 |rites:.>| >.> >>I|
|00000390| 20 61 6d 20 74 72 79 69 | 6e 67 20 74 6f 20 6d 61 | am tryi|ng to ma|
|000003a0| 6b 65 20 61 20 31 36 2d | 62 69 74 20 44 4c 4c 20 |ke a 16-|bit DLL |
|000003b0| 62 79 20 75 73 69 6e 67 | 20 4d 53 56 43 20 56 31 |by using| MSVC V1|
|000003c0| 2e 35 31 20 62 75 74 2c | 20 77 68 65 6e 20 49 0a |.51 but,| when I.|
|000003d0| 3e 20 3e 3e 63 6f 6d 70 | 69 6c 65 20 74 68 65 20 |> >>comp|ile the |
|000003e0| 70 72 6f 67 72 61 6d 2c | 20 69 74 20 67 69 76 65 |program,| it give|
|000003f0| 73 20 6d 65 20 74 68 65 | 20 66 6f 6c 6c 77 69 6e |s me the| follwin|
|00000400| 67 20 77 61 72 6e 69 6e | 67 3a 0a 3e 20 3e 3e 0a |g warnin|g:.> >>.|
|00000410| 3e 20 3e 3e 77 61 72 6e | 69 6e 67 20 43 34 30 31 |> >>warn|ing C401|
|00000420| 33 3a 20 27 66 73 63 61 | 6e 66 27 20 75 6e 64 65 |3: 'fsca|nf' unde|
|00000430| 66 69 6e 65 64 3b 20 61 | 73 73 75 6d 69 6e 67 20 |fined; a|ssuming |
|00000440| 65 78 74 65 72 6e 20 72 | 65 74 75 72 6e 69 6e 67 |extern r|eturning|
|00000450| 20 69 6e 74 0a 3e 20 3e | 3e 0a 3e 20 3e 3e 41 73 | int.> >|>.> >>As|
|00000460| 20 65 78 70 65 63 74 65 | 64 2c 20 74 68 65 20 6c | expecte|d, the l|
|00000470| 69 6e 6b 69 6e 67 20 73 | 74 61 67 65 20 67 69 76 |inking s|tage giv|
|00000480| 65 73 20 6d 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |es me th|e follow|
|00000490| 69 6e 67 3a 0a 3e 20 3e | 3e 0a 3e 20 3e 3e 65 72 |ing:.> >|>.> >>er|
|000004a0| 72 6f 72 20 4c 32 30 32 | 39 3a 20 27 5f 66 73 63 |ror L202|9: '_fsc|
|000004b0| 61 6e 66 27 20 3a 20 75 | 6e 72 65 73 6f 6c 76 65 |anf' : u|nresolve|
|000004c0| 64 20 65 78 74 65 72 6e | 61 6c 0a 3e 20 3e 3e 0a |d extern|al.> >>.|
|000004d0| 3e 20 3e 3e 49 74 20 73 | 65 65 6d 73 20 74 68 61 |> >>It s|eems tha|
|000004e0| 74 20 27 66 73 63 61 6e | 66 27 20 63 61 6e 6e 6f |t 'fscan|f' canno|
|000004f0| 74 20 62 65 20 75 73 65 | 64 20 69 66 20 79 6f 75 |t be use|d if you|
|00000500| 20 77 61 6e 74 20 74 6f | 20 70 72 6f 64 75 63 65 | want to| produce|
|00000510| 20 61 0a 3e 20 3e 3e 44 | 4c 4c 2e 20 20 43 61 6e | a.> >>D|LL. Can|
|00000520| 20 61 6e 79 6f 6e 65 20 | 74 65 6c 6c 20 6d 65 20 | anyone |tell me |
|00000530| 77 68 65 74 68 65 72 20 | 6d 79 20 67 75 65 73 73 |whether |my guess|
|00000540| 20 69 73 20 74 72 75 65 | 3f 20 20 49 66 20 6e 6f | is true|? If no|
|00000550| 2c 20 77 68 61 74 0a 3e | 20 3e 3e 73 68 6f 75 6c |, what.>| >>shoul|
|00000560| 64 20 49 20 64 6f 20 69 | 66 20 49 20 77 61 6e 74 |d I do i|f I want|
|00000570| 20 74 6f 20 75 73 65 20 | 27 66 73 63 61 6e 66 27 | to use |'fscanf'|
|00000580| 2e 20 20 49 66 20 79 65 | 73 2c 20 69 73 20 74 68 |. If ye|s, is th|
|00000590| 65 72 65 20 61 6e 79 0a | 3e 20 3e 3e 61 6c 74 65 |ere any.|> >>alte|
|000005a0| 72 6e 61 74 69 76 65 20 | 66 75 6e 63 74 69 6f 6e |rnative |function|
|000005b0| 20 75 73 61 62 6c 65 3f | 0a 3e 20 3e 0a 3e 20 3e | usable?|.> >.> >|
|000005c0| 4f 6e 65 20 6f 70 74 69 | 6f 6e 20 69 73 20 73 69 |One opti|on is si|
|000005d0| 6d 70 6c 79 20 6e 6f 74 | 20 74 6f 20 64 65 66 69 |mply not| to defi|
|000005e0| 6e 65 20 22 5f 57 49 4e | 44 4c 4c 22 2e 20 49 20 |ne "_WIN|DLL". I |
|000005f0| 75 73 65 64 20 74 6f 20 | 75 73 65 20 22 66 73 63 |used to |use "fsc|
|00000600| 61 6e 66 22 20 69 6e 0a | 3e 20 3e 44 4c 4c 73 20 |anf" in.|> >DLLs |
|00000610| 61 6e 64 20 69 74 20 61 | 70 70 65 61 72 73 20 74 |and it a|ppears t|
|00000620| 6f 20 77 6f 72 6b 20 4f | 4b 2e 0a 3e 20 0a 3e 20 |o work O|K..> .> |
|00000630| 54 68 69 73 20 61 70 70 | 72 6f 61 63 68 20 64 6f |This app|roach do|
|00000640| 65 73 20 6e 6f 74 20 77 | 6f 72 6b 20 66 6f 72 20 |es not w|ork for |
|00000650| 73 73 63 61 6e 66 20 69 | 6e 20 56 43 2b 2b 20 31 |sscanf i|n VC++ 1|
|00000660| 2e 35 32 2e 20 20 49 74 | 20 69 73 20 6e 6f 74 0a |.52. It| is not.|
|00000670| 3e 20 70 72 65 73 65 6e | 74 20 69 6e 20 6c 64 6c |> presen|t in ldl|
|00000680| 6c 63 65 77 2e 6c 69 62 | 2e 20 20 49 20 74 72 69 |lcew.lib|. I tri|
|00000690| 65 64 20 65 78 74 72 61 | 63 74 69 6e 67 20 73 73 |ed extra|cting ss|
|000006a0| 63 61 6e 66 28 29 20 61 | 6e 64 20 69 6e 70 75 74 |canf() a|nd input|
|000006b0| 28 29 20 66 72 6f 6d 0a | 3e 20 6c 6c 69 62 63 65 |() from.|> llibce|
|000006c0| 77 2e 6c 69 62 20 77 69 | 74 68 20 4c 49 42 2e 45 |w.lib wi|th LIB.E|
|000006d0| 58 45 2c 20 61 6e 64 20 | 6c 69 6e 6b 69 6e 67 20 |XE, and |linking |
|000006e0| 74 68 65 20 6f 62 6a 20 | 66 69 6c 65 73 20 64 69 |the obj |files di|
|000006f0| 72 65 63 74 6c 79 2c 20 | 62 75 74 20 74 68 65 0a |rectly, |but the.|
|00000700| 3e 20 72 65 73 75 6c 74 | 20 77 61 73 20 61 20 47 |> result| was a G|
|00000710| 50 46 20 77 68 65 6e 20 | 74 68 65 20 73 73 63 61 |PF when |the ssca|
|00000720| 6e 66 28 29 20 77 61 73 | 20 63 61 6c 6c 65 64 2e |nf() was| called.|
|00000730| 0a 3e 20 0a 3e 20 48 61 | 73 20 61 6e 79 6f 6e 65 |.> .> Ha|s anyone|
|00000740| 20 77 72 69 74 74 65 6e | 20 61 6e 20 73 73 63 61 | written| an ssca|
|00000750| 6e 66 28 29 20 66 75 6e | 63 74 69 6f 6e 20 74 68 |nf() fun|ction th|
|00000760| 61 74 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 69 |at can b|e used i|
|00000770| 6e 20 44 4c 4c 73 3f 20 | 20 49 0a 3e 20 63 61 6e |n DLLs? | I.> can|
|00000780| 27 74 20 74 68 69 6e 6b | 20 66 6f 72 20 74 68 65 |'t think| for the|
|00000790| 20 6c 69 66 65 20 6f 66 | 20 6d 65 20 77 68 79 20 | life of| me why |
|000007a0| 4d 53 20 64 65 63 69 64 | 65 64 20 74 6f 20 65 78 |MS decid|ed to ex|
|000007b0| 63 6c 75 64 65 20 69 74 | 2e 20 20 49 6e 20 56 43 |clude it|. In VC|
|000007c0| 2b 2b 0a 3e 20 32 2e 31 | 2c 20 74 68 65 20 52 54 |++.> 2.1|, the RT|
|000007d0| 4c 20 61 6c 77 61 79 73 | 20 68 61 73 20 69 74 20 |L always| has it |
|000007e0| 28 74 68 69 73 20 44 4c | 4c 20 49 27 6d 20 77 72 |(this DL|L I'm wr|
|000007f0| 69 74 69 6e 67 20 77 6f | 72 6b 73 20 66 69 6e 65 |iting wo|rks fine|
|00000800| 20 61 73 20 61 0a 3e 20 | 33 32 2d 62 69 74 20 44 | as a.> |32-bit D|
|00000810| 4c 4c 29 2e 0a 3e 20 0a | 3e 20 54 69 6d 2e 20 0a |LL)..> .|> Tim. .|
|00000820| 57 68 61 74 20 61 72 65 | 20 79 6f 75 20 74 72 79 |What are| you try|
|00000830| 69 6e 67 20 74 6f 20 73 | 63 61 6e 20 69 6e 20 79 |ing to s|can in y|
|00000840| 6f 75 72 20 44 4c 4c 20 | 63 6f 64 65 3f 20 57 68 |our DLL |code? Wh|
|00000850| 61 74 20 64 6f 65 73 20 | 74 68 65 20 66 6f 72 6d |at does |the form|
|00000860| 61 74 20 73 74 72 69 6e | 67 20 0a 6c 6f 6f 6b 20 |at strin|g .look |
|00000870| 6c 69 6b 65 3f 20 59 6f | 75 20 63 61 6e 20 70 72 |like? Yo|u can pr|
|00000880| 6f 62 61 62 6c 79 20 75 | 73 65 20 73 6f 6d 65 20 |obably u|se some |
|00000890| 63 6f 6d 62 69 6e 61 74 | 69 6f 6e 20 6f 66 20 73 |combinat|ion of s|
|000008a0| 74 72 69 6e 67 20 66 75 | 6e 63 74 69 6f 6e 73 20 |tring fu|nctions |
|000008b0| 61 6e 64 20 0a 65 6c 69 | 6d 69 6e 61 74 65 20 73 |and .eli|minate s|
|000008c0| 73 63 61 6e 66 20 65 6e | 74 69 72 65 6c 79 2e 20 |scanf en|tirely. |
|000008d0| 49 20 68 61 76 65 6e 27 | 74 20 75 73 65 64 20 73 |I haven'|t used s|
|000008e0| 73 63 61 6e 66 20 6d 79 | 73 65 6c 66 20 69 6e 20 |scanf my|self in |
|000008f0| 73 65 76 65 72 61 6c 20 | 79 65 61 72 73 2e 0a 0a |several |years...|
|00000900| 49 20 73 75 73 70 65 63 | 74 20 4d 53 20 64 6f 65 |I suspec|t MS doe|
|00000910| 73 20 6e 6f 74 20 70 72 | 6f 76 69 64 65 20 61 20 |s not pr|ovide a |
|00000920| 44 4c 4c 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 73 |DLL vers|ion of s|
|00000930| 73 63 61 6e 66 20 62 65 | 63 61 75 73 65 20 74 68 |scanf be|cause th|
|00000940| 65 79 20 66 65 65 6c 20 | 0a 69 74 73 20 74 6f 6f |ey feel |.its too|
|00000950| 20 6c 61 72 67 65 20 61 | 20 66 75 6e 63 74 69 6f | large a| functio|
|00000960| 6e 2e 20 43 6f 6e 73 69 | 64 65 72 20 61 6c 6c 20 |n. Consi|der all |
|00000970| 74 68 65 20 74 68 69 6e | 67 73 20 69 74 20 68 61 |the thin|gs it ha|
|00000980| 73 20 74 6f 20 62 65 20 | 70 72 65 70 61 72 65 64 |s to be |prepared|
|00000990| 20 0a 74 6f 20 64 6f 20 | 28 69 6e 63 6c 75 64 69 | .to do |(includi|
|000009a0| 6e 67 20 66 6c 6f 61 74 | 69 6e 67 20 70 6f 69 6e |ng float|ing poin|
|000009b0| 74 20 63 6f 6e 76 65 72 | 73 69 6f 6e 73 29 20 77 |t conver|sions) w|
|000009c0| 69 74 68 20 6e 6f 20 77 | 61 79 20 66 6f 72 20 74 |ith no w|ay for t|
|000009d0| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 0a 74 6f 20 |he compi|ler .to |
|000009e0| 6b 6e 6f 77 20 61 74 20 | 63 6f 6d 70 69 6c 65 2d |know at |compile-|
|000009f0| 20 6f 72 20 6c 69 6e 6b | 2d 74 69 6d 65 20 77 68 | or link|-time wh|
|00000a00| 69 63 68 20 6f 66 20 74 | 68 6f 73 65 20 63 6f 6e |ich of t|hose con|
|00000a10| 76 65 72 73 69 6f 6e 73 | 20 6d 61 79 20 62 65 20 |versions| may be |
|00000a20| 0a 72 65 71 75 69 72 65 | 64 2e 20 0a 0a 44 6f 65 |.require|d. ..Doe|
|00000a30| 73 20 4d 53 20 70 72 6f | 76 69 64 65 20 61 20 76 |s MS pro|vide a v|
|00000a40| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 72 75 |ersion o|f the ru|
|00000a50| 6e 2d 74 69 6d 65 20 6c | 69 62 72 61 72 79 20 74 |n-time l|ibrary t|
|00000a60| 68 61 74 27 73 20 61 6c | 72 65 61 64 20 70 61 63 |hat's al|read pac|
|00000a70| 6b 65 64 20 69 6e 20 0a | 61 20 44 4c 4c 20 61 73 |ked in .|a DLL as|
|00000a80| 20 42 6f 72 6c 61 6e 64 | 20 64 6f 65 73 3f 20 50 | Borland| does? P|
|00000a90| 65 72 68 61 70 73 20 73 | 73 63 61 6e 66 20 69 73 |erhaps s|scanf is|
|00000aa0| 20 69 6e 20 74 68 65 72 | 65 2e 0a | in ther|e.. |
+--------+-------------------------+-------------------------+--------+--------+